//
//  NSArray+MAAdv.m
//  MateAdv
//
//  Created by 茶 on 2023/9/8.
//

#import "NSArray+MAAdv.h"

@implementation NSArray (MAAdv)

- (void)mas_distributeRatioViewsAlongAxis:(MASAxisType)axisType withFixedSpacing:(CGFloat)fixedSpacing leadSpacing:(CGFloat)leadSpacing tailSpacing:(CGFloat)tailSpacing {
    [self mas_distributeViewsAlongAxis:axisType withFixedSpacing:MARatioWidth(fixedSpacing) leadSpacing:MARatioWidth(leadSpacing) tailSpacing:MARatioWidth(tailSpacing)];
}

- (void)mas_distributeRatioViewsAlongAxis:(MASAxisType)axisType withFixedItemLength:(CGFloat)fixedItemLength leadSpacing:(CGFloat)leadSpacing tailSpacing:(CGFloat)tailSpacing {
    [self mas_distributeViewsAlongAxis:axisType withFixedItemLength:fixedItemLength leadSpacing:leadSpacing tailSpacing:tailSpacing];
}
@end
